package com.jnevision.extra.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jnevision.common.CommonQuery;
import com.jnevision.extra.model.Extra;

/**
 * <p>
 * 它得收入 Mapper 接口
 * </p>
 *
 * @author gavin
 * @since 2019-07-14
 */
@Mapper
public interface ExtraMapper extends BaseMapper<Extra> {

    IPage<Extra> page(Page<Extra> page, @Param("query") CommonQuery query);

    String countUserExtra(CommonQuery query);
}
